package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 热销产品对象 hotProduct
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class HotProduct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /**
     * 产品ID
     */
    @Excel(name = "产品ID")
    private Integer productID;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer state;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Integer createUser;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Integer updateUser;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setProductID(Integer productID) {
        this.productID = productID;
    }

    public Integer getProductID() {
        return productID;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productID", getProductID())
                .append("state", getState())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("updateUser", getUpdateUser())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
